<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			input{
				outline: none;
			}
		</style>
	</head>
	<body>
		<form action="" method="" id="form">
			<br><br>
			<input type="text" disabled="" value="书籍名称" style="width: 60px;text-align: center;"/>
			<!-- <p>书籍名称</p> -->
			<input type="text" id="" value="" />
			<br><br>
			<input type="text" disabled="" value="出版日期" style="width: 60px;text-align: center;"/>
			<input type="text" id="" value="" />
			<br><br>
			<input type="text" disabled="" value="价格" style="width: 60px;text-align: center;"/>
			<input type="text" id="" value="" />
			<br><br>
			<input type="text" disabled="" value="购买数量" style="width: 60px;text-align: center;"/>
			<input type="text" id="" value="" />
			<br>
			<br>
			<a href="8-06作业一.html">
				<input type="button" id="btn_submit" value="保存" style="width: 100px;margin-left: 50px;"/>
			</a>
		</form>
		
		<script type="text/javascript">
			let btn_submit = document.getElementById("btn_submit");
			btn_submit.onclick = dosubmit;
			function dosubmit(){
				console.log(1);
				let form = document.getElementById("form");
				form.submit();
			}
		</script>
		
	</body>
</html>
